Gets the expression used to obtain key value from an element of the indexed collection.

Namespace:  C1.LiveLinq.Indexing
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public LambdaExpression KeySelector { get; private set; }
Visual Basic
Public Property KeySelector As LambdaExpression
	Get
	Private Set

Field Value

An expression calculating the key value from an item (element of the collection). Typically, this is a field or a property in the item class, although more complex expressions can also be used.

See Also